<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>custom-axios</title>
</head>
<body>
    <script src="/lib/0.0.1/custom-axios.js"></script>
    <script>
        axios.default({
            method: 'get',
            url: '/api'
        });
        axios.default({
            method: 'get',
            url: '/api',
            params: {
                a: 1,
                b: 2
            }
        });
        axios.default({
            method: 'post',
            url: '/api',
            data: {
                c: 1
            },
            header: {
                'content-type': 'application/json; charset=utf-8'
            }
        });
    </script>
</body>
</html>
